import Vue from 'vue'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
import Antd from 'ant-design-vue'
import "ant-design-vue/dist/antd.css";
import VueRouter from "vue-router"
import App from './App.vue'
import Intro from "./components/pages/Intro";
import Supply from "./components/pages/Supply";
import Index from "./components/pages/Index";
import Login from "./components/pages/Login";

Vue.use(Antd);
Vue.use(VueRouter);
Vue.use(VueAwesomeSwiper, /* { default global options } */);

Vue.config.productionTip = false


const routes=[
  {path:"/",component:Index},
  {path:"/login",component:Login},
  {path:"/page1",component:Intro},
  {path:"/page2",component:Supply},
];
const router = new VueRouter({mode: 'history',routes});


new Vue({
  render: h => h(App),router
}).$mount('#app');
